import Vue from 'vue'
import App from './App.vue'
import router from './router'
// import store from './store'
import ElementUI from 'element-ui'
import '@/mock/mock.js'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import echarts from 'echarts'
import './assets/fonts/iconfont.css'
import './assets/css/global.css'
import BaiduMap from 'vue-baidu-map'
// ui
Vue.prototype.$echarts = echarts
Vue.use(ElementUI)

// 设置请求根目录
Vue.config.productionTip = false
Vue.prototype.$http = axios
Vue.use(BaiduMap, {
  ak: 'mjbMtq8ROfsez2W1sFC4fMwBv580Y4Po'
})
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
